Leafo\ScssPhp\Parser D

Total Complexity 455
Dependencies 6
Dependents 1
Total lines 2,470
Lines of code 1,374
Logical lines of code 883
Comment lines 510
Methods 61
Properties 16

Methods 61

Method Rating Maintainability Complexity Lines of code
parseChunk()
D
5
130 302
selectorSingle()
C
34 28 92
value()
B
43 22 47
string()
A
42 15 57
openString()
A
45 14 39
mediaQuery()
A
48 14 33
expHelper()
A
48 14 29
func()
A
49 13 31
propertyName()
A
47 9 39
argumentDef()
A
48 8 35
map()
A
53 8 23
expression()
A
54 8 22
interpolation()
A
53 8 22
mediaExpression()
A
57 8 17
argumentList()
S
52 7 24
genericList()
S
54 7 22
parse()
S
49 6 31
mixedKeyword()
S
53 6 25
selector()
S
54 6 24
__construct()
S
55 6 17
matchString()
S
53 5 22
color()
S
53 5 22
selectors()
S
56 5 19
parenValue()
S
56 5 19
argValue()
S
56 5 19
progid()
S
57 5 17
to()
S
58 5 15
stripAssignmentFlags()
S
58 5 14
getSourcePosition()
S
57 4 17
literal()
S
59 4 14
match()
S
59 4 14
whitespace()
S
60 4 12
pushBlock()
S
54 3 23
end()
S
65 4 9
append()
S
59 3 14
popBlock()
S
61 3 14
keyword()
S
61 3 13
extractLineNumbers()
S
61 3 12
placeholder()
S
62 3 12
unit()
S
67 3 7
flattenList()
S
69 3 6
saveEncoding()
S
63 3 10
throwParseError()
S
64 3 8
variable()
S
65 3 9
show()
S
70 2 6
stripOptionalFlag()
S
64 2 10
url()
S
67 2 7
restoreEncoding()
S
75 2 5
peek()
S
66 2 8
seek()
S
70 2 7
last()
S
70 2 6
argValues()
S
68 2 7
parseValue()
S
63 1 11
parseSelector()
S
63 1 11
spaceList()
S
79 1 3
pushSpecialBlock()
S
73 1 5
appendComment()
S
73 1 4
getSourceName()
S
82 1 3
pregQuote()
S
79 1 3
mediaQueryList()
S
78 1 3
valueList()
S
79 1 3